package com.wen.controller.jqgrid;

import java.util.List;

/**
 * @author ~(≧▽≦)/~ 南瓜
 * @version V1.0
 * @Title: jqgrid分页数据
 * @Package com.wen.controller.jqgrid
 * @Description: 模块说明
 * @date 2018-02-28 11:12
 * @Signature 怒发冲冠，凭阑处、潇潇雨歇。抬望眼、仰天长啸，壮怀激烈。三十功名尘与土，八千里路云和月。莫等闲，白了少年头，空悲切。
 * 靖康耻，犹未雪；臣子恨，何时灭。驾长车，踏破贺兰山缺。壮志饥餐胡虏肉，笑谈渴饮匈奴血。待从头、收拾旧山河，朝天阙。
 */
public class PagingDto<T> {
    private static final long serialVersionUID = 81675135867286285L;

    // 每页显示记录数
    private Integer pageSize = 10;

    // 当前页数
    private Integer page = 1;

    /**
     * 总记录数
     */
    private Long records;

    /**
     * 总页数
     */
    private Integer total;

    /**
     * 数据
     */
    private List<T> rows;

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Long getRecords() {
        return records;
    }

    public void setRecords(Long records) {
        this.records = records;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public List<T> getRows() {
        return rows;
    }

    public void setRows(List<T> rows) {
        this.rows = rows;
    }
}
